package com.blb.zycommunity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 投诉建议 
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@TableName("zy_complaint_suggest")
@Data
@ApiModel(value = "ZyComplaintSuggest对象", description = "投诉建议 ")
public class ZyComplaintSuggest implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty("id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long complaintSuggestId;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("小区id")
    private Long communityId;

    @ApiModelProperty("类型(投诉、建议)")
    private String complaintSuggestType;

    @ApiModelProperty("内容")
    private String complaintSuggestContent;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("回复")
    private  String reply;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("投诉人ID")
    private Long userId;

    @ApiModelProperty("投诉人ID")
    private  String Image;

    @TableField(exist = false)
    private ZyOwner zyOwner;

    @TableField(exist = false)
    private ZyCommunity zyCommunity;
}
